How do I fix an 'list object is not iterable

welcome to shbcf.ru